# _*_ coding:utf-8 _*_
msg = "san chuang tong le, welcom ,'hello world', learn python"
import re
ret = re.findall("(?:(?:[']{1})(.+)(?:[']{1}))|(\w+)",msg)
lst=[]
for i,j in ret:
    if i!="":
        lst.append(i)
    elif j!="":
        lst.append(j)
print(lst)



